export default [
  {
    url: '/api/films',
    method: 'get',
    // 响应，请求当前的mock地址后，我给你请求的响应
    response: () => {
      return {
        code: 0,
        msg: '成功',
        data: [
          { id: 1, name: '流浪地球2' },
          { id: 2, name: '满江红' },
          { id: 3, name: '黑豹2' },
        ]
      }
    }
  }
]